package com.aiti.lulian.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.Date;

@ApiModel("表单草稿实体")
@Data
@TableName("drafts")
public class Drafts {

    /**
     * 用户ID
     */
    @TableId(value = "base_id", type = IdType.ASSIGN_UUID)
    private String baseId;

    /**
     * 用户ID
     */
    @TableId("user_id")
    private String userId;

    /**
     * 表单内容
     */
    @TableField("form_content")
    private String formContent;

    /**
     * 表单来源
     */
    @TableField("form_source")
    private String formSource;

    /**
     * 创建时间
     */
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;
}
